package com.example.toutiao.base.impl;

import android.app.Activity;
import android.graphics.Color;
import android.view.Gravity;
import android.widget.TextView;

import com.example.toutiao.base.BasePager;

/**
 * Created by admin on 2017/11/29.
 */

public class XiguaVideoPager extends BasePager {
    public XiguaVideoPager(Activity activity) {
        super(activity);
    }

    @Override
    public void initView() {
        super.initView();
    }

    @Override
    public void initData() {
        TextView view = new TextView(mActivity);
        view.setText("西瓜视频");
        view.setTextColor(Color.RED);
        view.setTextSize(22);
        view.setGravity(Gravity.CENTER);

        flContent.addView(view);
    }
}
